home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-serious-
/
programming
/
other
/
tandem
/
teaching
/
9.asm
< prev
Wrap
Assembly Source File
|
1999-09-06
|
291b
|
10 lines
* 9.asm Jump about version 0.00 1.9.97
move.l #20,D0 ;long move to d0, the value 20
cmp.l #20,D0 ;long compare to d0, the value 20
beq Aeq20 ;go if equal (BEQ stands for "branch if equal")
Ane20:
rts ;else, return (NE)
Aeq20:
rts ;return (EQ)